Skip to main content
WEBHOOK

Headers

X-Cufea-Signature
string
required

t=<unix seconds>,v1=<hex>: HMAC-SHA256 of {t}.{raw body} with the endpoint's signing secret.

X-Cufea-Delivery
string
required

Id of this delivery (one per event and endpoint).

X-Cufea-Event
string
required

The event type, as type.

Body

application/json

One event delivery. The body is compact JSON with sorted keys, signed as sent.

created_at
string<date-time>
required

When the event was emitted.

data
WebhookEventData · object
required

Ids and DIAN outcome codes only: never a NIT, a name, an e-mail or a secret.

id
string<uuid>
required

Event id. Retries of one delivery repeat it; deduplicate on it.

type
enum<string>
required
Available options:
invoice.accepted,
invoice.rejected,
note.accepted,
note.rejected,
event.registered,
invoice.delivered,
invoice.delivery_failed,
note.delivered,
note.delivery_failed

Response

Any 2xx marks the delivery delivered.